]> dgit.raspbian.org Git - gnome-shell.git/commit
NetworkMenu: fix VPN connection state
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 31 Mar 2011 20:43:05 +0000 (22:43 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 2 Apr 2011 18:40:12 +0000 (20:40 +0200)
commitd1a110d4ca5e6f0c518edeae3cf2eb7856e164cf
tree9edc32b63873eaa6924dadd0f86267e61b53723c
parent5b6148514384517c7a3069e5ec3770dd1cd1d966
NetworkMenu: fix VPN connection state

It was always reporting true, even if disconnected. At the same time,
add a signal that is emitted when state changes and update the UI
accordingly.
In the future (with another libnm-glib API break) we should use the
NMVPNConnection object to track the connection state, so that we can
show if we're connecting or we need authentication.

https://bugzilla.gnome.org/show_bug.cgi?id=646380
js/ui/status/network.js